
<script type="text/javascript" src="__PUBLIC__/template/js/index1.js"></script>
    <!--site header common-->
    <!--[if lt IE 9]>
    <script src="https://www.myzte.com/public/javascripts/html5fix.js?vde65" res_url="https://www.myzte.com/public" type="text/javascript" charset="utf-8" ></script>
    <link href="https://cdn.myzte.com/public/misc/respond_proxy/respond-proxy.html" id="respond-proxy" rel="respond-proxy" />
    <link href="https://www.myzte.com/public/misc/respond_proxy/respond.proxy.gif?vde65" id="respond-redirect" rel="respond-redirect" />
    <script src="https://www.myzte.com/public/misc/respond_proxy/respond.proxy.js?vde65"></script>
    <![endif]-->

    <!--[if lte IE 8]>
    <link rel="stylesheet" href="https://cdn.myzte.com/themes/pc/zhongxing/statics/filter.css?vde65">
    <style type="text/css">
        .page-index .banner-carousel .carousel-control{
            behavior:url(images/PIE.htc);
            -moz-border-radius: 55px;
            -webkit-border-radius: 55px;
            border-radius: 55px;
            z-index:2;
        }
    </style>

    <![endif]-->
    <style>
        /* CSS Document */
        .toolbar-item,.toolbar-layer{background:url(//res.myzte.com/31/78/7b117df5d52d.png?vd855) no-repeat;}
        .toolbar{ z-index:9999;position:fixed;right:0px;bottom:50px;}/*假设网页宽度为1200px，导航条在右侧悬浮*/
        .toolbar-item{display:block;width:52px;height:52px;margin-top:1px;position:relative;-moz-transition:background-position 1s;-ms-transition:background-position 1s;-o-moz-transition:background-position 1s;-webkit-moz-transition:background-position 1s;transition:background-position 1s;}
        .toolbar-item:hover .toolbar-layer{opacity:1;filter:alpha(opacity=100);transform:scale(1);-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);}
        .toolbar-item-weixin{background-position:0 -798px;}
        .toolbar-item-weixin:hover{background-position:0 -860px;}
        .toolbar-item-weixin .toolbar-layer{height:194px;background-position:0 -222px;}
        .toolbar-item-feedback{background-position:0 -426px;}
        .toolbar-item-feedback:hover{background-position:0 -488px;}
        .toolbar-item-feedback .toolbar-layer{height:194px;background-position:0 -10px;}
        .toolbar-item-app{background-position:0 -550px;}
        .toolbar-item-app:hover{background-position:0 -860px;}
        .toolbar-item-app .toolbar-layer{height:194px;background-position:0 -222px;}
        .toolbar-item-top{background-position:0 -674px;}
        .toolbar-item-top:hover{background-position:0 -736px;}
        .toolbar-layer{position:absolute;right:46px;bottom:-10px;width:172px;opacity:0;filter:alpha(opacity=0);
            transform-origin: 95% 95%;-moz-transform-origin: 95% 95%;-ms-transform-origin: 95% 95%;-o-transform-origin: 95% 95%;-webkit-transform-origin: 95% 95%;transform:scale(0.01);
            -moz-transform:scale(0.01);-ms-transform:scale(0.01);-o-transform:scale(0.01);-webkit-transform:scale(0.01);transition:all 1s;-moz-transition:all 1s;-ms-transition:all 1s;-o-transition:all 1s;-webkit-transition:all 1s;}
    </style>
    <style>
        .tl{text-align:left;}
        .tc{text-align:center;}
        .tr{text-align:right;}
        .bc{margin-left:auto;margin-right:auto;}
        .fl{float:left;display:inline;}  /* 可修复IE6中双倍边距bug */
        .fr{float:right;display:inline;}
        .cb{clear:both;}
        .cl{clear:left;}
        .cr{clear:right;}
        .clearfix:after{content:'.';display:block;height:0;clear:both;visibility:hidden;}
        .clearfix{display:inline-block;}
        * html .clearfix{height:1%;}
        .Clearfix{display:block;}
        .pr{position:relative;}
        .pa{position:absolute;}
        .abs-right{position:absolute;right:0;}
        .zoom{zoom:1;}
        .hidden{visibility:hidden;}
        .none{display:none;}

        /* 长度高度 */
        .w10{width:10px;}
        .w20{width:20px;}
        .w30{width:30px;}
        .w40{width:40px;}
        .w50{width:50px;}
        .w60{width:60px;}
        .w70{width:70px;}
        .w80{width:80px;}
        .w90{width:90px;}
        .w100{width:100px;}
        .w200{width:200px;}
        .w300{width:300px;}
        .w400{width:400px;}
        .w500{width:500px;}
        .w600{width:600px;}
        .w700{width:700px;}
        .w800{width:800px;}
        .w{width:100%}
        .h50{width:50px;}
        .h80{width:80px;}
        .h100{width:100px;}
        .h200{width:200px;}
        .h{height:100%}

        /* 边距 */
        .m10{margin:10px;}
        .m15{margin:15px;}
        .m30{margin:30px;}
        .mt5{margin-top:5px;}
        .mt10{margin-top:10px;}
        .mt15{margin-top:15px;}
        .mt20{margin-top:20px;}
        .mt30{margin-top:30px;}
        .mt50{margin-top:50px;}
        .mt100{margin-top:100px;}
        .mb5{margin-bottom:5px;}
        .mb10{margin-bottom:10px;}
        .mb15{margin-bottom:15px;}
        .mb20{margin-bottom:20px;}
        .mb30{margin-bottom:30px;}
        .mb50{margin-bottom:50px;}
        .mb100{margin-bottom:100px;}
        .ml5{margin-left:5px;}
        .ml10{margin-left:10px;}
        .ml15{margin-left:15px;}
        .ml20{margin-left:20px;}
        .ml30{margin-left:30px;}
        .ml50{margin-left:50px;}
        .ml100{margin-left:100px;}
        .mr5{margin-right:5px;}
        .mr10{margin-right:10px;}
        .mr15{margin-right:15px;}
        .mr20{margin-right:20px;}
        .mr30{margin-right:30px;}
        .mr50{margin-right:50px;}
        .mr100{margin-right:100px;}
        .p10{padding:10px;}
        .p15{padding:15px;}
        .p30{padding:30px;}
        .pt5{padding-top:5px;}
        .pt10{padding-top:10px;}
        .pt15{padding-top:15px;}
        .pt20{padding-top:20px;}
        .pt30{padding-top:30px;}
        .pt50{padding-top:50px;}
        .pt100{padding-top:100px;}
        .pb5{padding-bottom:5px;}
        .pb10{padding-bottom:10px;}
        .pb15{padding-bottom:15px;}
        .pb20{padding-bottom:20px;}
        .pb30{padding-bottom:30px;}
        .pb50{padding-bottom:50px;}
        .pb100{padding-bottom:100px;}
        .pl5{padding-left:5px;}
        .pl10{padding-left:10px;}
        .pl15{padding-left:15px;}
        .pl20{padding-left:20px;}
        .pl30{padding-left:30px;}
        .pl50{padding-left:50px;}
        .pl100{padding-left:100px;}
        .pr5{padding-right:5px;}
        .pr10{padding-right:10px;}
        .pr15{padding-right:15px;}
        .pr20{padding-right:20px;}
        .pr30{padding-right:30px;}
        .pr50{padding-right:50px;}
        .pr100{padding-right:100px;}
        </style>
    <style>
        .floor{height: 441px;}
        .floor_left{width: 890px; }
        .cate{width: 210px; height: 441px; }
        .goodslist{width: 680px;}
        .cate h2{width: 210px; height: 40px; line-height: 40px; background: url("__PUBLIC__/template/images/bg2.png") 0 -342px no-repeat; text-align: center; font-size: 16px; font-weight: bold; color: #fff;}
        .cate_wrap{width: 208px; height: 400px; border:1px solid #2E82D0; border-top: 0; overflow: hidden; position: relative;}
        .cate_wrap ul{width:195px; padding:10px 0 0 13px;}
        .cate_wrap li{float: left; display: inline; margin: 0;}
        .cate_wrap li a{display: inline-block; width: 80px; padding-left: 9px; height: 24px; line-height: 24px;}
        .cate_wrap li b{font-family: Arial; font-size: 14px; margin-right: 4px;}
        .cate_wrap li a:hover{background: #005EA7; color: #fff; text-decoration: none;}
        .cate_wrap p{position: absolute; left: 0; bottom: 0;width: 208px; height: 170px;}
        .cate_wrap p img{width: 208px; height: 170px;}
        .goodslist h2{width:680px; height: 38px; border-top: 2px solid #2E82D0;}
        .goodslist_wrap{width: 664px; height: 400px; padding-left: 15px; border: 1px solid #ddd; border-top: 0; border-left: 0;}
        .goodslist h2 span{float: left; display: inline; width: 135px; border:1px solid #ddd; border-top: 0; border-left: 0; background: url("../images/bg1.png") 0 -73px repeat-x;  text-align: center; font:bold 14px/37px "microsoft yahei"; cursor:pointer;}
        .goodslist h2 span.on{background: none; border-bottom: 0; color:#2E82D0;}

        .goodslist_wrap li{width: 165px; float: left; display: inline; height: 188px; text-align: center; padding-top: 10px;}
        .goodslist_wrap li img{width: 130px; height: 130px;}
        .goodslist_wrap dl dd{line-height: 18px;}
        .goodslist_wrap dl span{color: #999;}
        .goodslist_wrap dl strong{color: #d00000; font-weight: bold;}

        /*1F 侧栏 sidebar*/
        .floor .brand .sidebar_wrap{height: 115px;}
        .floor .brand li{float: left; display: inline; width: 98px; height: 35px;}
        .floor .brand li img{width: 98px; height: 35px;}
        .floor .info .sidebar_wrap{height: 114px; padding-top: 8px;}
        .floor .info li{line-height: 20px; padding-left: 5px;}
        .floor .info li a{color: #005EA7;}
        .floor .info li b{font-family: Arial; font-size: 14px; margin-right: 4px;}
        .float .ads{height: 100px;}
    </style>
    <style>
        .sidebar{width: 310px;}
        .sidebar h2{ height:39px; line-height: 39px; background: #f3f3f3; border: 1px solid #ddd; border-bottom: 0; border-radius: 5px 5px 0 0; -webkit-border-radius:5px 5px 0 0;}
        .sidebar h2 strong{font:bold 14px "microsoft yahei"; line-height: 38px; padding-left: 10px; }
        .sidebar h2 a{float: right; padding-right: 10px;color: #005EA7;}
        .sidebar .sidebar_wrap{width:310px; padding: 0 7px; height: 308px; border: 1px solid #ddd; border-top: 0;}


        .guide .sidebar{height: 271px;}
        .guide .sidebar_wrap{height:230px; }
        .guide .sidebar_wrap dt img{width: 100px; height: 100px;}
        .guide .sidebar_wrap dl{width:294px;clear: both; padding-top: 7px;}
        .guide .sidebar_wrap .first{border-bottom: 1px dotted #dddddd; padding-bottom: 7px;}
        .guide .sidebar_wrap .first img{margin-right: 5px;}
        .guide .sidebar_wrap dd{line-height: 17px;}
        .guide .sidebar_wrap dd strong{font-weight:bold; font-size: 13px;}
        .guide .sidebar_wrap dd em{ display: inline-block; width:28px; height: 16px; padding-left: 8px; line-height: 16px; background: url("../images/bg2.png") -265px -536px no-repeat; color: #fff;}

    </style>
    <script>
        (function(win){
            win.Sale = {};
            //倒计时
            win.Sale.countdown = function (intDiff,show_scope,callback){
                if(!show_scope)return;
                var self = this;
                self.timer = setInterval((function(){
                    var day=0,
                            hour=0,
                            minute=0,
                            second=0;//时间默认值
                    if(intDiff > 0){
                        day = Math.floor(intDiff / (60 * 60 * 24));
                        hour = Math.floor(intDiff / (60 * 60)) - (day * 24);
                        minute = Math.floor(intDiff / 60) - (day * 24 * 60) - (hour * 60);
                        second = Math.floor(intDiff) - (day * 24 * 60 * 60) - (hour * 60 * 60) - (minute * 60);
                    }
                    if (day <= 9) day = '0' + day;
                    if (hour <= 9) hour = '0' + hour;
                    if (minute <= 9) minute = '0' + minute;
                    if (second <= 9) second = '0' + second;
                    show_scope.find('.day').html(day);
                    show_scope.find('.hours').html(hour);
                    show_scope.find('.minutes').html(minute);
                    show_scope.find('.seconds').html(second);
                    if(day == 0 && hour == 0 && minute == 0 && second == 0){
                        clearInterval(self.timer);
                        if( typeof(callback) == 'function'){
                            callback();
                        }
                    }
                    intDiff--;
                    return arguments.callee;
                })(), 1000);
            };
        })(window);
    </script>


<script>
    $(function(){
        $("#input_keyword").focus(function(){
            $(this).addClass('search-focus');
            $(document).keydown(function(event){
                if(event.keyCode==13){
                    if($(".search-focus").val()){
                        window.location.href=window.location.protocol+'//'+window.location.host+'/list.html?'+'keyword='+$('#input_keyword').val();
                    }
                }
            });
        });
        $("#input_keyword").blur(function(){
            $(this).removeClass('search-focus');
        });
    });
</script>


<!--<script type="text/template" id="minicart_item_tpl">
    <li class="clearfix shopcart-goods-li">
        <div class="shopcart-goods-image">
            <img src="{image_url}" alt="">
        </div>
        <div class="shopcart-goods-name">
            <p>{name}<br>{spec_info}</p>
        </div>
        <div class="shopcart-goods-price">
            <div class="goods-handle">
                <span class="goods-price">￥{buy_price}</span>
            </div>
            <div class="delate-goods">
                <a href="{remove_url}" class="delate-goods cart-remove">删除</a>
            </div>
        </div>
    </li>
</script>-->
<script type="text/javascript">
    $(document).ready(function(){
        $('.all-categories').add('.all-categories-detail').on({
            mouseover:function(){
                $('.all-categories-detail').show();
            },
            mouseout:function(){
                $('.all-categories-detail').hide();
            }
        });
        $('.fenlei-two li:nth-child(6n+1)').find('.goods-img').css('border-left','none');
    });
</script>
<script>
    $(function(){
        $(".is-login").hover(function() {
            $(".dropdown-menu").css('display', 'inline-block');
        }, function() {
            $(".dropdown-menu").css('display', 'none');
        });
    })
    //获取地址栏参数
    $(function(){
        var urlParam= decodeURIComponent(window.location.search);
        //alert(urlParam);
        if (urlParam.indexOf('?keyword=') != -1) {

            if (urlParam.indexOf('&') == -1) {
                var loc = urlParam.substring(urlParam.indexOf('=') + 1);

            }else{
                var end = urlParam.indexOf('&');
                var loc = urlParam.substring(urlParam.indexOf('=') + 1, end);
            }
            if (loc != '') {
                $(".fast-search").addClass('hide');
                $("#input_keyword").val(loc);
            }else{
                $(".fast-search").removeClass('hide');
            }
        };
    })
</script>
<script>
    (function(){
        $.getJSON("https://www.myzte.com/index.php/openapi/content_node/articles/node_id/35",'',function(re){
            if(re.result=='success' && re.data.length>0){
                var length = re.data.length > 3?3:re.data.length;
                var html = '';
                for(var i=0;i < length;i++){
                    html+= '<li><a href="'+re.data[i].link+'">'+re.data[i].title+'</a></li>';
                }
                $('#newsBox ul').html(html);
            }
        });
        /*新闻向上无缝滚动*/
        var area = document.getElementById('newsBox');
        var liHeight = 24; //单行滚动高度
        var speed = 50; //滚动速度
        var time;
        var delay = 2000; //滚动间隔时间
        area.scrollTop = 0;
        area.innerHTML += area.innerHTML; //新闻列表克隆
        function scrollUp(){
            if (area.scrollTop % liHeight == 0) {
                clearInterval(time);
                setTimeout(startScroll,delay);
            }else{
                area.scrollTop++;
                if (area.scrollTop >= area.scrollHeight/2) {
                    /*当第一个ul向上滚动到滚动区域顶端,重置为0*/
                    area.scrollTop = 0;
                };
            }
        }
        function startScroll(){
            time = setInterval(scrollUp,speed);
            area.scrollTop++;
        }
        setTimeout(startScroll,delay);
    })();
</script>

<div class="page-index">
    <div id="carousel-example-generic" class="carousel slide banner-carousel" data-ride="carousel">
        <!-- Indicators -->
        <ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class=""></li>
            <li data-target="#carousel-example-generic" data-slide-to="1" class=""></li>
            <li data-target="#carousel-example-generic" data-slide-to="2" class=""></li>
            <li data-target="#carousel-example-generic" data-slide-to="3" class=""></li>
        </ol>

        <!-- Wrapper for slides -->
        <div class="carousel-inner" role="listbox">
            <div class="item">
                <a href="https://www.myzte.com/v8.html"><img src="__PUBLIC__/template/images/12a79afb6908.jpg" alt=""></a>
            </div>
            <div class="item">
                <a href="https://www.myzte.com/6902176003141.html"><img src="__PUBLIC__/template/images/f1d835b5d9f0.jpg" alt=""></a>
            </div>
            <div class="item">
                <a href="https://www.myzte.com/6902176000645.html"><img src="__PUBLIC__/template/images/017279760304.jpg" alt=""></a>
            </div>
            <div class="item">
                <a href="https://www.myzte.com/6902176008580.html"><img src="__PUBLIC__/template/images/1b66ea07f550.jpg" alt=""></a>
            </div>
        </div>

        <script type="text/javascript">
            (function(){
                $('#carousel-example-generic .carousel-inner .item:first-child').addClass('active');
                $('#carousel-example-generic .carousel-indicators li:first-child').addClass('active');
            })()
        </script>
        <!-- Controls -->
        <a class="left carousel-control" href="https://www.myzte.com/#carousel-example-generic" role="button" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left" aria-hidden=""></span>
            <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="https://www.myzte.com/#carousel-example-generic" role="button" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
        </a>
    </div>
    <!--切图-->

    <div class="first-cate row" style="margin-top: 15px;">
        <div class="col-md-3 item item1">
            <a href="https://www.myzte.com/v8.html" class="item-wrap">
                <div class="item-block">

                    <figure class="featured-thumbnail">
                        <img src="__PUBLIC__/template/images/0af275fffe4f.jpg" alt="">
                    </figure>

                </div>
            </a>
        </div>
        <div class="col-md-3 item item2">
            <a href="https://www.myzte.com/6902176003141.html" class="item-wrap">
                <div class="item-block">

                    <figure class="featured-thumbnail">
                        <img src="__PUBLIC__/template/images/fd1c6c86676a.jpg" alt="">
                    </figure>

                </div>
            </a>
        </div>
        <div class="col-md-3 item item3">
            <a href="https://www.myzte.com/6902176008580.html" class="item-wrap">
                <div class="item-block">

                    <figure class="featured-thumbnail">
                        <img src="__PUBLIC__/template/images/4b1873b68c23.jpg" alt="">
                    </figure>

                </div>
            </a>
        </div>
        <div class="col-md-3 item item4">
            <a href="https://www.myzte.com/6934933090095.html" class="item-wrap">
                <div class="item-block">

                    <figure class="featured-thumbnail">
                        <img src="__PUBLIC__/template/images/d261a8401fe1.jpg" alt="">
                    </figure>

                </div>
            </a>
        </div>
    </div>

    <!--楼层-->
    <div class="zx-block">
        <div class="zx-goods-block">
            <div class="zx-title-block border-bottom">
                <div class="zx-title-name">
                    <span>推荐</span>
                </div>
                <div class="zx-more">
                    <ul class="list-unstyled clearfix">
                        <li class="zx-more-fenlei active" id="tab1">
                            <a href="javascript:void(0)">热销</a>
                        </li>
                        <li class="zx-more-fenlei" id="tab2">
                            <a>推荐商品</a>
                        </li>
                        <li class="zx-more-fenlei" id="tab3">
                            <a>新品上架</a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="zx-goods">
                <ul class="list-unstyled clearfix content" id="content1">
                    <li class="pull-left">
                        <div class="mobile-banner">
                            <a href="https://www.myzte.com/item-1876.html" target="_blank"><img src="__PUBLIC__/template/images/69031102ff66.jpg" alt=""></a>
                        </div>
                    </li>
                    <?php foreach($goods3 as $v):?>
                    <li class="pull-left">
                        <div class="sale-block">
                            <a href="{:U('Index/goods')}?id={$v.id}" target="">
                                <div class="sale-goods-img">
                                        <?php echo showImage($v['mid_logo'])?>
                                    <div class="tips tips-green">
                                            <span>
                                                <?php if($v['is_hot']):?>
                                                热卖
                                                <?php endif;?>
                                            </span>
                                </div>
                                </div>
                                <div class="sale-goods-miaoshu">
                                    <div class="sale-goods-name">
                                        <h6>{$v.goods_name}</h6>
                                    </div>
                                    <!--<div class="sale-goods-ad">
                                        <h6></h6>
                                    </div>-->
                                    <div class="sale-goods-pri">
                                        <span class="new-pri">￥<strong>{$v.shop_price}</strong></span>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </li>
                    <?php endforeach;?>
                </ul>

                <ul class="list-unstyled clearfix content" id="content2" style="display:none;">
                    <li class="pull-left">
                        <div class="mobile-banner">
                            <a href="https://www.myzte.com/item-1876.html" target="_blank"><img src="__PUBLIC__/template/images/69031102ff66.jpg" alt=""></a>
                        </div>
                    </li>
                    <?php foreach($goods4 as $v):?>
                    <li class="pull-left">
                        <div class="sale-block">
                            <a href="https://www.myzte.com/item-1729.html" target="_blank">
                                <div class="sale-goods-img">
                                    <?php echo showImage($v['mid_logo'])?>
                                    <div class="tips tips-green">
                                            <span>
                                                <?php if($v['is_best']):?>
                                                精品
                                                <?php endif;?>
                                            </span>
                                    </div>
                                </div>
                                <div class="sale-goods-miaoshu">
                                    <div class="sale-goods-name">
                                        <h6>{$v.goods_name}</h6>
                                    </div>
                                    <!--<div class="sale-goods-ad">
                                        <h6></h6>
                                    </div>-->
                                    <div class="sale-goods-pri">
                                        <span class="new-pri">￥<strong>{$v.shop_price}</strong></span>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </li>
                    <?php endforeach;?>
                </ul>

                <ul class="list-unstyled clearfix content" id="content3" style="display:none;">
                    <li class="pull-left">
                        <div class="mobile-banner">
                            <a href="https://www.myzte.com/item-1876.html" target="_blank"><img src="__PUBLIC__/template/images/69031102ff66.jpg" alt=""></a>
                        </div>
                    </li>
                    <?php foreach($goods2 as $v):?>
                    <li class="pull-left">
                        <div class="sale-block">
                            <a href="https://www.myzte.com/item-1930.html" target="_blank">
                                <div class="sale-goods-img">
                                    <?php echo showImage($v['mid_logo'])?>
                                    <div class="tips tips-green">
                                            <span>
                                                <?php if($v['is_new']):?>
                                                新品
                                                <?php endif;?>
                                            </span>
                                    </div>
                                </div>
                                <div class="sale-goods-miaoshu">
                                    <div class="sale-goods-name">
                                        <h6>{$v.goods_name}</h6>
                                    </div>
                                    <!--<div class="sale-goods-ad">
                                        <h6></h6>
                                    </div>-->
                                    <div class="sale-goods-pri">
                                        <span class="new-pri">￥<strong>{$v.shop_price}</strong></span>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </li>
                    <?php endforeach;?>
                </ul>
                <div class="zx-ad-banner hide">
                    <a href="https://www.myzte.com/list.html"><img src="__PUBLIC__/template/images/bannerA.png" alt=""></a>
                </div>
            </div>
        </div>
    </div>

    <?php foreach($floorData as $k=>$v): ?>
    <!--1F 电脑办公 start -->
    <div class="floor1 floor w1210 bc mt10" style="width: 1210px;">
        <!-- 1F 左侧 start -->
        <div class="floor_left fl">
            <!-- 商品分类信息 start-->
            <div class="cate fl">
                <h2>{$v.cate_name}</h2>
                <div class="cate_wrap">
                    <ul>
                        <?php foreach($v['subCat'] as $k1 => $v1):?>
                        <li><a href="{:U('Search/key_search')}?key={$v1.cate_name}"><b>.</b>{$v1.cate_name}</a></li>
                        <?php endforeach?>
                    </ul>
                    <p><a href="{:U('Index/index')}"><img src="__PUBLIC__/template/images/notebook.jpg" alt="" /></a></p>
                </div>
            </div>
            <!-- 商品分类信息 end-->

            <!-- 商品列表信息 start-->
            <div class="goodslist fl">
                <h2>
                    <?php foreach($v['recSubCat'] as $k1 => $v1):?>
                    <span <?php if($k1==0) echo 'class="on"';?>>{$v1.cate_name}</span>
                    <?php endforeach;?>
                </h2>
                <div class="goodslist_wrap">
                    <?php foreach($v['recSubCat'] as $k1 => $v1):?>
                    <div <?php if($k1>0) echo 'class="none"'?>>
                    <ul>
                        <?php foreach($v1['goods'] as $k2 =>$v2):?>
                        <li>
                            <dl>
                                <dt><a href="<?php echo U('goods?id=' . $v2['id'])?>"><?php echo showImage($v2['mid_logo'])?></a></dt>
                                <dd><a href="<?php echo U('goods?id=' . $v2['id'])?>"><?php echo $v2['goods_name']?></a></dd>
                            </dl>
                        </li>
                        <?php endforeach?>
                    </ul>
                </div>
                <?php endforeach?>
            </div>
        </div>
        <!-- 商品列表信息 end-->
    </div>
    <!-- 1F 左侧 end -->

    <!-- 右侧 start -->
    <div class="sidebar fl ml10">
        <!-- 品牌旗舰店 start -->
        <div class="brand">
            <h2><a href="" style="font-size: 10px">更多品牌&nbsp;></a><strong>品牌旗舰店</strong></h2>
            <div class="sidebar_wrap">
                <ul>
                    <?php foreach($v['brand'] as $k3 => $v3): ?>
                    <li><a href=""><?php echo showImage($v3['logo']); ?></a></li>
                    <?php endforeach?>

                </ul>
            </div>
        </div>
        <!-- 品牌旗舰店 end -->

        <!-- 分类资讯 start -->
        <div class="info mt10">
            <h2><strong>分类资讯</strong></h2>
            <div class="sidebar_wrap">
                <ul>
                    <li><a href=""><b>.</b>iphone 5s土豪金大量到货</a></li>
                    <li><a href=""><b>.</b>三星note 3低价促销</a></li>
                    <li><a href=""><b>.</b>thinkpad x240即将上市</a></li>
                    <li><a href=""><b>.</b>双十一来临，众商家血拼</a></li>
                </ul>
            </div>

        </div>
        <!-- 分类资讯 end -->

        <!-- 广告 start -->
        <div class="ads mt10">
            <a href=""><img src="__PUBLIC__/template/images/canon.jpg" alt="" /></a>
        </div>
        <!-- 广告 end -->
    </div>
    <!-- 右侧 end -->

</div>
    <?php endforeach;?>

</div>

<script type="text/javascript">
    $(document).ready(function(){
        $('.all-categories-detail').css("display","block");
        $('.all-categories').add('.all-categories-detail').on("mouseover mouseout",function(){
            $('.all-categories-detail').show();
        });
    });
</script>
<script type="text/javascript">
    (function(){
        //首页分类楼层商品切换选项卡
        var switch_tab = function(target_this,par_sec,index){
            par_sec.find('.zx-more-fenlei').removeClass('active');
            target_this.addClass('active');
            par_sec.find('.content').css("display","none");
            par_sec.find('#content'+index).css("display","block");
        }
        $('.zx-more-fenlei').on("mouseover",function(){
            var target_this = $(this);
            var index = this.id.replace('tab','');
            var par_sec = target_this.parents('.zx-block');
            switch_tab(target_this,par_sec,index);
        });

    })();
</script>

<div class="toolbar">
    <a href="https://www.myzte.com/###" class="toolbar-item toolbar-item-weixin">

        <span class="toolbar-layer"></span>
    </a>
    <a href="http://v1.live800.com/live800/chatClient/chatbox.jsp?companyID=437521&amp;configID=41175&amp;jid=9108176411" class="toolbar-item toolbar-item-feedback" target="_Blank">
        <span class="toolbar-layer"></span>
    </a>

    <a href="javascript:scroll(0,0)" id="top" class="toolbar-item toolbar-item-top"></a>
</div>




<script>
    $(".pagination").addClass('clearfix');
    $(".prev").children('a').html('<img src="../themes/pc/zhongxing/images/left_1.png?vde65" alt="">');
    $(".next").children('a').html('<img src="../themes/pc/zhongxing/images/right_1.png?vde65" alt="">');
</script>
<script charset="utf-8">
    //底部帮助中心openAPI
    var help = "https://www.myzte.com/index.php/openapi/content_help/foot/";
    $.getJSON(help,{node_id:'1'},function(recv){
        if(recv.result=='success' && recv.data){
            var i = 0;
            var html = '';
            var li = '';
            $('.help-center').children('.list-unstyled').each(function(){
                if(recv.data[i]){
                    for(var j= 0; j<recv.data[i].article_list.length;j++){
                        li += '<li><a href="'+recv.data[i].article_list[j].link+'">'+recv.data[i].article_list[j].title+'</a></li>';
                    }
                    html += '<li class="help-title"><a href="javascript:;">'+recv.data[i].node_name+'</a></li><li class="help-list"><ul>' + li +'</ul>';
                    li = '';
                    $(this).html(html);
                    html = '';
                    i++;
                }
            });
        }
    });
</script>
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?2460548f7273e134eeec7ceec2087037";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

<!--site footer common-->
<div style="display:none" data-rel="Baidu Analytics"><script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?2460548f7273e134eeec7ceec2087037";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script></div>
<script>
    var arr=location.href.split("#");
    var nums = arr.length;
    if(nums>1){
        var reg = /^[A-Z0-9a-z]+$/;
        for(var i = 1 ;i<nums ;i++){
            var arg = arr[i].split("=");
            if(arg[0] =='cmscode' && reg.test(arg[1])){
                $.cookie('cmscode', arg[1] ,{path:'/'});
                break;
            }
        }
    }
</script>
<script>
    var arr=location.href.split("#");
    var nums = arr.length;
    if(nums>1){
        var reg = /^[1-9][0-9]*$/;
        for(var i = 1 ;i<nums ;i++){
            var arg = arr[i].split("=");
            if(arg[0] =='fmid' && reg.test(arg[1])){
                $.cookie('fmid', arg[1] ,{path:'/'});
                break;
            }
        }
    }
</script>